package com.liujiang.cn.video;

import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.profile.DefaultProfile;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: liujiang
 * @Date: 2020/12/13/19:49
 * @Description:
 */
public class AliyunVodSDKUtils {
    public  static DefaultAcsClient initVodClient(String accessKeyId,String accessKeySecret){
        String regionid = "cn-shanghai"; //点播服务接入区域
        DefaultProfile profile = DefaultProfile.getProfile(regionid,accessKeyId,accessKeySecret);
        DefaultAcsClient client = new DefaultAcsClient(profile);
        return client;
    }
}
